SetPlatformPrintJob
TheSetPlatformPrintJob
method assigns the print job for the specified graphics system to this canvas.
void SetPlatformPrintJob (in ODGraphicsSystem g, in ODPlatformPrintJob j);
g
- A 16-bit value specifying the graphics system whose print job you are setting. Valid graphics systems are platform dependent.
j
- A 32-bit value identifying the graphics-system-specific print job to assign to this canvas, or
kODNULL
to clear the print job. Valid values forj
are graphics-system-dependent.DISCUSSION
You need to call this method only when you are creating a static canvas to use as a print job.On the Mac OS platform, the graphics system may be either QuickDraw (
kODQuickDraw
) or QuickDraw GX (kODQuickDrawGX
). For QuickDraw, the platform print job should be a QuickDraw print job (typeTHPrint
); for QuickDraw GX, it should be a QuickDraw GX print job (typegxJob
).SEE ALSO
TheODGraphicsSystem
type (page 883).
TheODCanvas::GetPlatformPrintJob
method (page 71).
TheODCanvas::HasPlatformPrintJob
method (page 75).
"Printing the Document" on page 174 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help